package cn.ximart.passport.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class AdminLoginVO implements Serializable {

    /*用户id*/
    private Long id;

    /*用户名*/
    @ApiModelProperty(value = "用户名称", required = true, example = "0")
    private String username;

    /*密码（密文）*/
    @ApiModelProperty(value = "密码", required = true, example = "0")
    private String password;

    /*账号是否启用，0=禁用，1=启用*/
    private Integer enable;

    /*用户的权限*/
    private List<String> permissions;
}
